package com.cn.jinl.dao;

import com.cn.jinl.domain.OrderBackInfo;
import com.cn.jinl.domain.OrderBackInfoExample;
import java.util.List;

import com.cn.jinl.domain.OrderBackStorageVo;
import com.cn.jinl.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface OrderBackInfoMapper {
    int countByExample(OrderBackInfoExample example);

    int deleteByExample(OrderBackInfoExample example);

    int insert(OrderBackInfo record);

    int insertSelective(OrderBackInfo record);

    OrderBackInfo selectOrderBackInfoByKey(String id);

    OrderBackInfo selectOrderBackInfoByOrderId(String orderId);

    List<OrderBackInfo> selectByExample(OrderBackInfoExample example);

    List<OrderBackInfo> selectOrderBackList(QueryForm queryForm);

    List<OrderBackInfo> selectOrderUnBackStorageList();

    int selectOrderBackListCount(QueryForm queryForm);

    List<String> selectOrderBackId();

    int updateByExampleSelective(@Param("record") OrderBackInfo record, @Param("example") OrderBackInfoExample example);

    int updateByExample(@Param("record") OrderBackInfo record, @Param("example") OrderBackInfoExample example);

    List<OrderBackInfo> selectAPIOrderBackList(QueryForm queryForm);
    //待入库
    List<OrderBackInfo> selectAPIOrderBackStorageList(QueryForm queryForm);
    //查询已经入库
    List<OrderBackStorageVo> selectAPIOrderBackHasStorageList(QueryForm queryForm);
}